package com.ygs.secs.service.impl;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

import com.ygs.secs.model.Clzaa;
import com.ygs.secs.mapper.ClzaaMapper;
import com.ygs.secs.service.ClzaaService;

@Service
public class ClzaaServiceImpl implements ClzaaService {

    @Resource
    private ClzaaMapper clzaaMapper;

    @Override
    public int deleteByPrimaryKey(Integer clazzid) {
        return clzaaMapper.deleteByPrimaryKey(clazzid);
    }

    @Override
    public int insert(Clzaa record) {
        return clzaaMapper.insert(record);
    }

    @Override
    public int insertSelective(Clzaa record) {
        return clzaaMapper.insertSelective(record);
    }

    @Override
    public Clzaa selectByPrimaryKey(Integer clazzid) {
        return clzaaMapper.selectByPrimaryKey(clazzid);
    }

    @Override
    public int updateByPrimaryKeySelective(Clzaa record) {
        return clzaaMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Clzaa record) {
        return clzaaMapper.updateByPrimaryKey(record);
    }

    @Override
    public int updateBatch(List<Clzaa> list) {
        return clzaaMapper.updateBatch(list);
    }

    @Override
    public int updateBatchSelective(List<Clzaa> list) {
        return clzaaMapper.updateBatchSelective(list);
    }

    @Override
    public int batchInsert(List<Clzaa> list) {
        return clzaaMapper.batchInsert(list);
    }

    @Override
    public int batchDelete(Integer[] clzaas) {
        return clzaaMapper.batchDelete(clzaas);
    }

    @Override
    public List<Clzaa> getClzaaByProfessionId(Integer professionid) {
        return clzaaMapper.getClzaaByProfessionId(professionid);
    }

}


